﻿using FastMvc.Crud;
using JQ.SAAS.DTO.OrgRole;
using JQ.SAAS.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace JQ.SAAS.IService
{
    public interface IOrgRoleService : ICrudService<org_role, OrgRoleDto, string, OrgRoleListRequestDto, OrgRoleCreateUpdateDto, OrgRoleCreateUpdateDto>
    {
        Task<List<OrgRoleMenuSetDto>> GetRoleMenus(string sId);

        Task SetRoleMenus(string sId, List<OrgRoleMenuSetDto> Menus);
    }
}
